package Day1.examples;

public class DemoIfandFor {

	public static void main(String[] args) {
		int i = 10;

		if (i == 5) {
			System.out.println("i value is 5");
		} else if (i == 9) {
			System.out.println("i value is 9");

		} else {
			System.out.println("i value is not 5 or 9");
		}

		for (i = 0; i < 10; i++) {
			System.out.println("next number is :" + i);
		}
	}
	
	
}